package org.alex.samples.service;

import java.io.InputStream;
import java.util.List;

import org.alex.samples.model.SubjectVO;
import org.alex.samples.model.User;
import org.alex.samples.model.UserVO;

public interface IUserService {

	public List<User> findAllUsers() throws Exception;

	public void createUser(User user) throws Exception;

	public UserVO getUserById(String id) throws Exception;

	public void edtiUser(User user) throws Exception;

	public void deleteUser(String id) throws Exception;

	public void saveUserByExcel(InputStream inputStream, String postfix) throws Exception;
	
	public void updataUserLastLockTime(UserVO user) throws Exception;

	public void updataUserLoginFailCount(UserVO result) throws Exception;

	public List<SubjectVO> getSubjectList(UserVO userVO) throws Exception;

	
}